package com.lagou.edu.annotations;

import java.lang.annotation.*;
/**
 * @ClassName: MyAutowired
 * @Description:
 * @Version: v1.0.0
 * @Author: chendong
 * @Date: 2020/11/25
 * Modification History:
 * Date             Author      Version     Description
 * -------------------------------------------------------------
 * 2020/11/25         chendong       v1.0.0         创建
 */

@Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MyAutowired {

    boolean required() default true;
}
